package com.lg.thread.day02.sleepTest;

/**
 * @author LG93
 * @create 2017-08-11 16:57
 **/
public class MyThread1 extends Thread {

    @Override
    public void run() {
        try {
            System.out.println("run threadName ="+this.currentThread().getName()+" begin");
            Thread.sleep(2000);
            System.out.println("run threadName ="+this.currentThread().getName()+" begin");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
